<template>
    <div class="index">
        <HeadNav></HeadNav>
        <LeftMenu></LeftMenu>
        <div class="rightContainer">
            <router-view></router-view>
        </div>
    </div>
</template>

<script>
import HeadNav from '@/components/HeadNav.vue';
import LeftMenu from '@/components/LeftMenu.vue';
export default {
    name: 'index',
    components: {
        HeadNav,
        LeftMenu
    },
}
</script>
<style scoped>
.index {
    height: 100%;
    overflow: hidden;
}
.rightContainer{
    position: relative;
    top:0;
    left:160px;
    width: calc(100% - 160px);
    height:calc(100% - 81px);
    overflow: auto;
}
</style>